#ifndef PLAYER_H
#define PLAYER_H
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>

using namespace std;

class Player
{
      public:
             int GetArmies(int nr){return m_armies[nr];}
             int GetCities(int nr){return m_cities[nr];}
             int GetTreaties(int nr){return m_treaties[nr];}
             int GetWars(int nr){return m_wars[nr];}
             int GetOrders(int nr){return m_orders[nr];}
             int GetTiles(int nr){return m_tiles[nr];}
             int GetResources(int nr){return resources[nr];}
             
             void AddArmy(int ID){m_armies.push_back(ID); return;}
             void AddCity(int ID){m_cities.push_back(ID); return;}
             void AddTreaty(int ID){m_treaties.push_back(ID); return;}
             void AddWar(int ID){m_wars.push_back(ID); return;}
             void AddOrder(int ID){m_orders.push_back(ID); return;}
             void AddTile(int ID){m_tiles.push_back(ID); return;}
             
             void RemoveArmy(int nr){m_armies.pop_back(nr); return;}
             void RemoveCity(int nr){m_cities.pop_back(nr); return;}
             void RemoveTreaty(int nr){m_treaties.pop_back(nr); return;}
             void RemoveWar(int nr){m_wars.pop_back(nr); return;}
             void RemoveOrder(int nr){m_orders.pop_back(nr); return;}
             void RemoveTile(int nr){m_tiles.pop_back(nr); return;}
             
             void SetResources(int nr,int count){resources[nr] = count; return;}
             
             int FindArmy(int)
             int FindCity(int)
             int FindTreaty(int)
             int FindWar(int)
             int FindOrder(int)
             int FindTile(int)
             
      private:
              vector<int> m_armies;
              vector<int> m_cities;
              vector<int> m_treaties;
              vector<int> m_wars;
              vector<int> m_orders;
              vector<int> m_tiles;
              int resources[20];
              

#endif
